#!/usr/bin/bash
echo $1
port=28085
if [ -n "$1" ]
then
    port=$1
    echo "port is $1"
fi
echo "ports is $port"
pid=`netstat -anp | grep $port | awk '{print $7}'`
echo $pid

